import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { InstanceRoutingModule } from './instance-routing.module';
import { InstanceAddComponent } from './instance-add/instance-add.component';
import { InstanceUpdateComponent } from './instance-update/instance-update.component';
import { InstanceComponent } from '../instance/instance.component';
import {InstanceService} from "./case.service";
import {OneOperationModule} from "../../../../widgets/one-operation/one-operation.module";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import { InstanceAssignReceiverComponent } from './instance-assign-receiver/instance-assign-receiver.component';
import { InstanceCategoryComponent } from './instance-category/instance-category.component';
import {MsgChannelService} from "../channel/msgChannel.service";
import {RuleService} from "../rule/rule.service";
import {TemplateService} from "../template/template.service";
import {RetrieveRegionsService} from "../channel/regions-add.service";


@NgModule({
  imports: [
    CommonModule,
    InstanceRoutingModule,
    FormsModule,
    ReactiveFormsModule,
    OneOperationModule
  ],
  declarations: [InstanceAddComponent, InstanceUpdateComponent, InstanceComponent, InstanceAssignReceiverComponent, InstanceCategoryComponent],
  providers: [
    InstanceService,
    MsgChannelService,
    RuleService,
    TemplateService,
    RetrieveRegionsService
  ]
})
export class InstanceModule { }
